package com.heima.model.wemedia.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Xiao
 * @version 1.0
 * @description wm_news_material实体类
 * @date 2021/11/21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("wm_news_material")
public class WmNewsMaterial {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;//主键
    private Integer materialId;//素材ID
    private Integer newsId;//图文ID
    private Integer type;//引用类型  0 内容引用 1 主图引用
    private Integer ord;//引用排序
}
